AI-driven VR rehabilitation therapy